# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=lfi-autopwn
pkgver=3.0
pkgrel=10
groups=('blackarch' 'blackarch-exploitation' 'blackarch-fuzzer')
pkgdesc='A Perl script to try to gain code execution on a remote server via LFI.'
url='http://www.blackhatlibrary.net/Lfi_autopwn.pl'
arch=('any')
license=('GPL2')
depends=('perl' 'perl-libwhisker2')
source=("http://www.blackhatlibrary.net/releases/lfi_autopwn.tgz")
sha512sums=('973b983a194393cbfbbd67a3b20cf8b3b0b957c1d550a46d1d95d1034428da717d4ff5bbe49e5bdac67da9d94d84ee52815a07ff3f26b4b8c58f4b8f8f962c26')

package() {
  cd lfi_autopwn

  install -Dm 755 lfi_autopwn.pl "$pkgdir/usr/bin/$pkgname"
}

